age = 9
match age :
    case x if x < 10:
        print(f'x < 10 years old: {x}')
    case 10:
        print('10 years old')
    case 11 | 12 | 13 | 14 | 15:
        print("11-15 years old")
    case _:
        print("not sure")

args = ['gcc', 'hello.c', 'world.c', 'nihao.c']
# args = ['gcc']
# args = ['clean']

match args:
    case ['gcc']:
        print("gcc: missing source files")
    case ['gcc', file1, *files]:
        print(type(files))
        print(', '.join(files))
        print('gcc compile: ' + file1 + ', ' + ', '.join(files))
    case ['clean']:
        print("clean")
    case _:
        print("invalid command")